package com.mmd.admin.model.pojo.result.mer;

import com.mmd.admin.model.pojo.entity.StoreMenu;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "商家端登录返回", description = "商家端登录返回")
@SuperBuilder
public class MerLoginVo implements Serializable {

    @ApiModelProperty(value = "令牌")
    private String token;

    @ApiModelProperty(value = "服务令牌")
    private String serveToken;

    @ApiModelProperty("菜单列表")
    private List<StoreMenu> menuList = new ArrayList<>();

    @ApiModelProperty(value = "会员ID")
    private String avatar;

    @ApiModelProperty(value = "管理员名称")
    private String name;

    @ApiModelProperty(value = "是否入驻")
    private Integer isEnter;

    @ApiModelProperty(value = "账号")
    private String phone;

    @ApiModelProperty("申请入驻状态 0待审核 1通过 2拒绝")
    private Integer status;

    @ApiModelProperty("拒绝原因")
    private String refuseMemo;

    @ApiModelProperty("使用签名")
    private String useSig;
}
